k = 0.001
j = 0.01
dayup = 1
for i in range(365):
    if i %4==0:
        dayup = dayup*(1-k)
    else:
        dayup = dayup*(1+j)
print('工作3天休息1天的能力值:{:.2f}'.format(dayup))
